package com.teaching.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 附件表
 *
 * @author xubb
 * @date 2021-03-22 15:27:55
 */
@Data
@TableName("attach")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "附件表")
public class Attach extends Model<Attach> {
private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value="主键id")
    private String attachId;
    /**
     * 附件名
     */
    @ApiModelProperty(value="附件名")
    private String attachName;
    /**
     * 附件类型
     */
    @ApiModelProperty(value="附件类型")
    private String attachType;
    /**
     * 附件大小KB
     */
    @ApiModelProperty(value="附件大小KB")
    private String attachLength;
    /**
     * 附件存储文件夹路径
     */
    @ApiModelProperty(value="附件存储文件夹路径")
    private String attachPath;
    /**
     * 分组guid
     */
    @ApiModelProperty(value="分组guid")
    private String groupGuid;
    /**
     * 分组type
     */
    @ApiModelProperty(value="分组type")
    private String groupType;
    /**
     * 上传时间
     */
    @ApiModelProperty(value="上传时间")
    private Date uploadTime;
    /**
     * 上传人
     */
    @ApiModelProperty(value="上传人")
    private String uploadUser;
    /**
     * 备注内容
     */
    @ApiModelProperty(value="备注内容")
    private String remark;
    }
